﻿@page
@model Magic.Oidc.AuthorizatonServer.Pages.LogoutModel
@using Microsoft.Extensions.Primitives
@{
}
<div class="jumbotron">
    <h1>退出登录</h1>
    <p class="lead text-left">确定要推出登录吗？</p>

    <form action="/connect/logout" method="post">
        @* Flow the request parameters so they can be received by the LogoutPost action: *@
        @foreach (var parameter in HttpContext.Request.HasFormContentType ?
        (IEnumerable<KeyValuePair<string, StringValues>>)HttpContext.Request.Form : HttpContext.Request.Query)
        {
            <input type="text" name="@parameter.Key" value="@parameter.Value" />
        }

        <input class="btn btn-lg btn-success" name="Confirm" type="submit" value="Yes" />
    </form>
</div>